package edu.zut;

public class class04 {
    public static void main(String[] args) {
        String str = "i love china very mach!!!";
        System.out.println("i love china very mach!!!");
        int i = str.indexOf("china");
        System.out.println("china的下标为："+i);
        int i2 = str.indexOf("CHINA");
        System.out.println("CHINA的下标为"+i2);
    }
}
